package com.gupao.jly521.proxy.custom.temp;

import com.gupao.jly521.proxy.custom.proxy.GPInvocationHandler;

import java.lang.reflect.Method;

/**
 * 自动生成代码（副本）
 * @author Jly
 * @date 2018/8/22  16:52
 */
public class Temp$Proxy0 implements com.gupao.jly521.entity.Person{
    GPInvocationHandler h;
    public Temp$Proxy0(GPInvocationHandler h) {
        this.h = h;}
    public void findJob() {
        try{
            Method m = com.gupao.jly521.entity.Person.class.getMethod("findJob",new Class[]{});
            this.h.invoke1(this,m,null);
        }catch(Throwable e){
            e.printStackTrace();
        }
    }
    public void walkLikeAMan() {
        try{
            Method m = com.gupao.jly521.entity.Person.class.getMethod("walkLikeAMan",new Class[]{});
            this.h.invoke1(this,m,null);
        }catch(Throwable e){
            e.printStackTrace();
        }
    }
    public java.lang.String findGirlFriend() {
        java.lang.String obj = null;
        try{
            Method m = com.gupao.jly521.entity.Person.class.getMethod("findGirlFriend",new Class[]{});
            obj = (java.lang.String)this.h.invoke1(this,m,null);
        }catch(Throwable e){
            e.printStackTrace();
        }
        return obj;
    }
}
